package com.reliable.service.utils;

import com.reliable.framework.datasource.DynamicDataSourceContextHolder;

public class DataSourceUtil {
    public static String getCurrentDataSource() {
        return DynamicDataSourceContextHolder.getDataSourceType();
    }
    
    public static void setDataSourceType(String dataSourceType) {
        DynamicDataSourceContextHolder.setDataSourceType(dataSourceType);
    }
    
    public static void clearDataSourceType() {
        DynamicDataSourceContextHolder.clearDataSourceType();
    }
}